package com.tjp.eight.ui.fragment.modyname;

import android.view.View;

import com.tjp.eight.R;
import com.tjp.eight.base.BaseActivitySwipe;
import com.tjp.eight.comment.AppManager;
import com.tjp.eight.utils.BitmapUtils;

/**
 * Created by Administrator on 2017/3/23.
 */

public class ActivityModyName extends BaseActivitySwipe {
    @Override
    public void setFragment() {
        changeFragment(new FragmentModifyNmae());
    }

    @Override
    public void initTitleAll() {
        tvTitle.setText("修改昵称");
        rlLeft.setVisibility(View.VISIBLE);
        rlLeft.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                AppManager.getAppManager().finishActivity(ActivityModyName.this);
            }
        });
        ivLeft.setImageBitmap(BitmapUtils.getBitmap(this, R.drawable.top_back));
    }
}
